package com.example.design.patterns.冰河.结构型模式.桥接模式.concreteImplementor;

import com.example.design.patterns.冰河.结构型模式.桥接模式.abstraction.Person;
import com.example.design.patterns.冰河.结构型模式.桥接模式.implementor.Clothing;

/**
 * 实现 Implementor接口并定义它的具体实现
 */
public class Jacket extends Clothing {
    /**
     *
     * @param person
     */
    @Override
    public void personDressCloth(Person person) {
        System.out.println(person.getType() + " 穿马甲 ");
    }
}
